package com.zking.seckillpro.vo;

import com.zking.seckillpro.vaildator.IsMobile;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UserVo {
    @NotBlank(message = "手机号码不能为空")
    @IsMobile
    private String mobile;
    @NotBlank(message = "密码不能为空")
    private String password;
}
